package com.huike.business.mapper;

import java.util.List;
import com.huike.business.domain.TbBusinessTrackRecord;
import com.huike.business.domain.vo.BusinessTrackVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商机跟进记录Mapper接口
 * @date 2021-04-28
 */
@Mapper
public interface TbBusinessTrackRecordMapper {

    /**
     * 新增商机跟进记录
     * @param tbBusinessTrackRecord  要跟新的数据
     */
    void insertBusinessRecord(TbBusinessTrackRecord tbBusinessTrackRecord);

    /**
     * 查询商机跟进记录
     * @param id 商机Id
     * @return 跟进记录
     */
    List<TbBusinessTrackRecord> findAll(Long id);
}